home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / Xm / XmCreateScrolledText.z / XmCreateScrolledText
Text File  |  1998-10-30  |  7KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSccccrrrroooolllllllleeeeddddTTTTeeeexxxxtttt((((3333XXXX))))  UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV  XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSccccrrrroooolllllllleeeeddddTTTTeeeexxxxtttt((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSccccrrrroooolllllllleeeeddddTTTTeeeexxxxtttt - The Text ScrolledText convenience
  10.           creation function
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           #include <Xm/Text.h>
  14.           WWWWiiiiddddggggeeeetttt XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSccccrrrroooolllllllleeeeddddTTTTeeeexxxxtttt(
  15.           WWWWiiiiddddggggeeeetttt ppppaaaarrrreeeennnntttt,
  16.           SSSSttttrrrriiiinnnngggg nnnnaaaammmmeeee,
  17.           AAAArrrrggggLLLLiiiisssstttt aaaarrrrgggglllliiiisssstttt,
  18.           CCCCaaaarrrrddddiiiinnnnaaaallll aaaarrrrggggccccoooouuuunnnntttt);
  19.  
  20.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  21.           This page documents Motif 2.1.
  22.  
  23.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  24.           XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSccccrrrroooolllllllleeeeddddTTTTeeeexxxxtttt creates an instance of a Text widget
  25.           that is contained within a ScrolledWindow.  The
  26.           ScrolledWindow parent is created managed.  All
  27.           ScrolledWindow subarea widgets are automatically created by
  28.           this function.  The ID returned by this function is that of
  29.           the Text widget (not the ScrolledWindow widget).  Use this
  30.           widget ID for all operations on the Text widget.  Use the
  31.           widget ID of the Text widget's parent for all operations on
  32.           the ScrolledWindow.  To obtain the ID of the ScrolledWindow
  33.           widget associated with the Text widget, use the Xt
  34.           Intrinsics XXXXttttPPPPaaaarrrreeeennnntttt function.  The name of the
  35.           ScrolledWindow created by this function is formed by
  36.           concatenating the letters _S_Wonto the end of the _n_a_m_e
  37.           specified in the parameter list.
  38.  
  39.           The Text widget defaults to single-line text edit;
  40.           therefore, no ScrollBars are displayed. The Text resource
  41.           XXXXmmmmNNNNeeeeddddiiiittttMMMMooooddddeeee must be set to XXXXmmmmMMMMUUUULLLLTTTTIIII____LLLLIIIINNNNEEEE____EEEEDDDDIIIITTTT to display the
  42.           ScrollBars.  The results of placing a Text widget inside a
  43.           ScrolledWindow when the Text's XXXXmmmmNNNNeeeeddddiiiittttMMMMooooddddeeee is
  44.           XXXXmmmmSSSSIIIINNNNGGGGLLLLEEEE____LLLLIIIINNNNEEEE____EEEEDDDDIIIITTTT are undefined.
  45.  
  46.           All arguments to either the Text or the ScrolledWindow
  47.           widget can be specified at creation time with this function.
  48.           Changes to initial position and size are sent only to the
  49.           ScrolledWindow widget.  Other resources are sent to the Text
  50.           or the ScrolledWindow widget as appropriate.  Note that the
  51.           result of providing the XXXXmmmmNNNNddddeeeessssttttrrrrooooyyyyCCCCaaaallllllllbbbbaaaacccckkkkresource in the
  52.           creation _a_r_g_l_i_s_t is unspecified. The application should use
  53.           the XXXXttttAAAAddddddddCCCCaaaallllllllbbbbaaaacccckkkk function to add callbacks to the
  54.           appropriate widget (Text or ScrolledWindow) after creating
  55.           it.
  56.  
  57.           This function forces the following initial values for
  58.           ScrolledWindow resources:
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/24/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSccccrrrroooolllllllleeeeddddTTTTeeeexxxxtttt((((3333XXXX))))  UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV  XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSccccrrrroooolllllllleeeeddddTTTTeeeexxxxtttt((((3333XXXX))))
  71.  
  72.  
  73.  
  74.              +o  XXXXmmmmNNNNssssccccrrrroooolllllllliiiinnnnggggPPPPoooolllliiiiccccyyyy is set to XXXXmmmmAAAAPPPPPPPPLLLLIIIICCCCAAAATTTTIIIIOOOONNNN____DDDDEEEEFFFFIIIINNNNEEEEDDDD.
  75.  
  76.              +o  XXXXmmmmNNNNvvvviiiissssuuuuaaaallllPPPPoooolllliiiiccccyyyy is set to XXXXmmmmVVVVAAAARRRRIIIIAAAABBBBLLLLEEEE.
  77.  
  78.              +o  XXXXmmmmNNNNssssccccrrrroooollllllllBBBBaaaarrrrDDDDiiiissssppppllllaaaayyyyPPPPoooolllliiiiccccyyyy is set to XXXXmmmmSSSSTTTTAAAATTTTIIIICCCC.
  79.  
  80.              +o  XXXXmmmmNNNNsssshhhhaaaaddddoooowwwwTTTThhhhiiiicccckkkknnnneeeessssssss is set to 0 (zero).
  81.  
  82.           _p_a_r_e_n_t    Specifies the parent widget ID
  83.  
  84.           _n_a_m_e      Specifies the name of the created widget
  85.  
  86.           _a_r_g_l_i_s_t   Specifies the argument list
  87.  
  88.           _a_r_g_c_o_u_n_t  Specifies the number of attribute/value pairs in
  89.                     the argument list (_a_r_g_l_i_s_t)
  90.  
  91.           For a complete definition of Text and its associated
  92.           resources, see XXXXmmmmTTTTeeeexxxxtttt(3).
  93.  
  94.      RRRREEEETTTTUUUURRRRNNNN
  95.           Returns the Text widget ID.
  96.  
  97.      RRRREEEELLLLAAAATTTTEEEEDDDD
  98.           XXXXmmmmSSSSccccrrrroooolllllllleeeeddddWWWWiiiinnnnddddoooowwww(3) and XXXXmmmmTTTTeeeexxxxtttt(3).
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                         (printed 10/24/98)
  130.  
  131.  
  132.  
  133.